<template>
  <div>
    <ul>
      <li v-for="(item,index) in srt" :key='index'>
        {{item}}
      </li>
    </ul>
    <button @click="changee">走一走</button>
  </div>
</template>

<script>
export default {
          data(){
            return{
              srt:['大王','小王',"王炸"]
            }
          },
          methods:{
            changee(){
            this.srt.push(this.srt.splice(0,1).join())
           
       

            }
          }

          
}
</script>

<style>

</style>